﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;
using Collections;

namespace Controller
{
    public class BookingController
    {
        public void OpretBooking(Ibooking booking)
        {
            BookingCollection bc = new BookingCollection();
            bc.OpretBooking(booking);
        }
        public int HentSidstIndsatteBooking()
        {
            int bookingnr;
            BookingCollection bc = new BookingCollection();
            bookingnr = bc.HentSidstIndsatteBooking();
            return bookingnr;
        }
    }
}
